﻿using MediatR;
using PersonnelManagement.Domain.Dto;
using PersonnelManagement.Domain.PersonnelDomain;
using PersonnelManagement.Dtos;

namespace PersonnelManagement.Application.Command.ManpowerCommand
{
    public class ListManpowerCommand:IRequest<PageDto<ListManpowerDto>>
    {
        public int Pindex { get; set; }
        public int Psize { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string? MName { get; set; }

        /// <summary>
        /// 开始入职时间
        /// </summary>
        public DateTime? Mstart { get; set; }

        /// <summary>
        /// 结束入职时间
        /// </summary>
        public DateTime? Mend { get; set; }

        /// <summary>
        /// 开始出生日期
        /// </summary>
        public DateTime? Bstart { get; set; }

        /// <summary>
        /// 结束出生日期
        /// </summary>
        public DateTime? Bend { get; set; }

        /// <summary>
        /// 所在部门
        /// </summary>
        public int? SectorId { get; set; }

        /// <summary>
        /// 所在岗位
        /// </summary>
        public int? PostId { get; set; }

    }
}
